package com.example.crm.service;

import com.example.crm.entity.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductService {

    public List<Product> findAll(@Param("prodName")String prodName, @Param("prodType")String prodType, @Param("prodBatch")String prodBatch ,
                                 @Param("offset") Integer offset, @Param("pageSize") Integer pageSize);

    public int count(@Param("prodName")String prodName, @Param("prodType")String prodType,@Param("prodBatch")String prodBatch);
}
